﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PragmaticMVC.Security;
using PragmaticMVC.Security;

namespace PragmaticMVC.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult About()
        {
            return View();
        }

        [PragmaticAuthorization.AllowRegistrationAttribute]
        public ActionResult Registration()
        {
            return View("Registration");
        }

        public ActionResult PatientMaintenance()
        {
            return View("PatientMaintenance");
        }

        
        public ActionResult OrdersTracking()
        {
            return View("OrdersTracking");
        }
        
        public ActionResult SiteAdministration()
        {
            return View("SiteAdministration");
        }
    }
}
